﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class slidebanner : System.Web.UI.UserControl
{
    eStoreDataContext db = new eStoreDataContext();
    protected void Page_Load(object sender, EventArgs e)
    {
        Repeater1.DataSource = db.Banners.Where(b=>b.Activated==true);
        Repeater1.DataBind();
      //  db.Banners.
    }
}